/*
   Copyright (C) 2008 Yen-Ju Chen <yjchenx gmail>

   This application is free software; you can redistribute it and/or 
   modify it under the terms of the MIT license. See COPYING.

*/

#import <Foundation/Foundation.h>
#import <BioCocoa/BCFoundation.h>

typedef enum _ICItemType {
	ICItemGeneType,
	ICItemPrimerType,
	ICItemPlasmidType
} ICItemType;

@interface ICItem: NSObject
{
	NSString *identifier;
	NSString *title;
	BCSequence *DNASequence;
	ICItemType type;
}

- (id) initWithPropertyList: (NSDictionary *) propertyList;

/** Accessory */
- (void) setIdentifier: (NSString *) identifier;
- (NSString *) identifier;
- (void) setTitle: (NSString *) title;
- (NSString *) title;
- (void) setDNASequence: (BCSequence *) sequence;
- (BCSequence *) DNASequence;
- (void) setType: (ICItemType) type;
- (ICItemType) type;

- (NSInteger) length;
- (NSDictionary *) propertyList;

@end

